package com.laicunba.service;

public interface MessagePushService {
	class Message {
		private String title;
		private String subTitle;
		private String href;
		private String appView;

		public String getTitle() {
			return title;
		}

		public String getSubTitle() {
			return subTitle;
		}

		public String getHref() {
			return href;
		}

		public String getAppView() {
			return appView;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public void setSubTitle(String subTitle) {
			this.subTitle = subTitle;
		}

		public void setHref(String href) {
			this.href = href;
		}

		public void setAppView(String appView) {
			this.appView = appView;
		}

	}

	boolean post(String pushId, Message msg);

	boolean post(Message msg);
}
